<h4 mat-dialog-title i18n="Register user dialog title">Register a user</h4>

<mat-dialog-content>
    <div>
        <mat-form-field>
            <mat-label i18n="User name">User name</mat-label>
            <input matInput [(ngModel)]="usernameInput">
        </mat-form-field>
    </div>
    <div>
        <mat-form-field>
            <mat-label i18n="Password">Password</mat-label>
            <input matInput [(ngModel)]="passwordInput" type="password">
        </mat-form-field>
    </div>
</mat-dialog-content>

<mat-dialog-actions>
    <button color="accent" (click)="createUser()" mat-raised-button><ng-container i18n="Register user button">Register</ng-container></button>
    <button mat-dialog-close mat-button><ng-container i18n="Close button">Close</ng-container></button>
</mat-dialog-actions>